{block javascript}
<script type="text/javascript" src="jquery.metadata.js"></script> 
<script type="text/javascript" src="http://github.com/malsup/media/raw/master/jquery.media.js?v0.92"></script> 
<script type="text/javascript">
    $(function() {
        $.fn.media.mapFormat('avi','quicktime','Flash');
        // this one liner handles all the examples on this page
        $('a.media').media({ 
            width:     470, 
            height:    350, 
            autoplay:  false,
            autostart:  false
        });
    });
    
</script>

{/block}
{block content}

{*control exampleForm *}


<h2>Test funkce/komponenty XYZ</h2>
{dump $mmedia}
{foreach $mmedia as $file}
    <div class="Bcelek2">sdsd
        <div class="Btext">
            {*first*}
            <a class="media" href="http://localhost/povoden/www/DOWNE/{$file}">{$file}</a>

            {*/first*}
        </div>
    </div>
{/foreach}

